<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>nfs-utils</Name>
        <Homepage>http://nfs.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>service</IsA>
        <IsA>app:console</IsA>
        <Summary>NFS client and server</Summary>
        <Description>Contains NFS (Network File System) client and server. It is possible to mount a network resource as a file system using the NFS protocol.</Description>
        <Archive sha1sum="7c561e6a22a626aed93766bdb0c34e9a4e77b9e7" type="tarbz2">mirrors://sourceforge/nfs/nfs-utils-1.3.3.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libtirpc-devel</Dependency>
            <Dependency>libcap-devel</Dependency>
            <Dependency>tcp-wrappers-devel</Dependency>
            <Dependency>libevent-devel</Dependency>
            <Dependency>libnfsidmap-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>device-mapper-devel</Dependency>
            <Dependency>libutil-linux-devel</Dependency>
            <Dependency>e2fsprogs-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">nfs-utils-1.2.1-statdpath-man.patch</Patch>
            <Patch level="1">nfs-utils-1.2.1-exp-subtree-warn-off.patch</Patch>
            <Patch level="1">nfs-utils-1.2.3-sm-notify-res_init.patch</Patch>
	    <Patch level="1">nfs-utils-1.2.5-idmap-errmsg.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>nfs-utils</Name>
        <RuntimeDependencies>
            <Dependency>libcap</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>keyutils</Dependency>
            <Dependency>libevent</Dependency>
            <Dependency>libtirpc</Dependency>
            <Dependency>e2fsprogs</Dependency>
            <Dependency>libnfsidmap</Dependency>
            <Dependency>mit-kerberos</Dependency>
            <Dependency>tcp-wrappers</Dependency>
            <Dependency>device-mapper</Dependency>
            <Dependency>libutil-linux</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="library">/var/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/exports">exports</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/nfs">nfs.confd</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/idmapd.conf">idmapd.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/gssapi_mech.conf">gssapi_mech.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="nfs-common.py" name="nfs_common">System.Service</COMAR>
            <COMAR script="nfs-server.py" name="nfs_server">System.Service</COMAR>
        </Provides>
    </Package>

    <History>
	<Update release="5">
            <Date>2015-12-25</Date>
            <Version>1.3.3</Version>
            <Comment>Version bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
	<Update release="4">
            <Date>2013-11-27</Date>
            <Version>1.2.9</Version>
            <Comment>Version bump</Comment>
            <Name>Richard de Bruin</Name>
            <Email>richdb@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-07-28</Date>
            <Version>1.2.8</Version>
            <Comment>Dep Fixed</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-05-11</Date>
            <Version>1.2.8</Version>
            <Comment>Version bump</Comment>
            <Name>Ertan Güven</Name>
            <Email>ertan@pisilinux.org</Email>
        </Update>
        <Update release="1" type="security">
            <Date>2011-07-08</Date>
            <Version>1.2.3</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>